<template>
  <div class="page-video">
    <MovieHeader />
    <div class="switch-tab-bar">
      <van-tabs
        color="#f03d37"
        line-width="20px"
        :ellipsis="false"
        @click="tabHandler"
      >
        <van-tab
          title-style="color:#666"
          :key="item.id"
          v-for="item in tabsArr"
          :title="item.name"
        >
        </van-tab>
      </van-tabs>
    </div>
    <section class="videos">
      <div v-for="video in videoArr" :key="video.id" class="video-item">
        <a class="link" :href="video.video.url">
          <div class="videoplayer">
            <img
              class="img noneBg poster"
              :alt="video.title"
              :src="video.video.imgUrl"
              e="0"
              c="0"
            />
            <div class="video-title">{{ video.title }}</div>
            <div class="play-but"></div>
            <div class="info-bar">
              <div class="time">{{ video.video.dur | dur_filter }}</div>
            </div>
          </div>
        </a>
        <div class="video-info">
          <div>
            <img class="img noneBg user-avatar" :src="video.user.avatarurl" />
            <div class="user-nickname">{{ video.user.nickName }}</div>
          </div>
          <div>
            <div class="video-praise">{{ video.upCount }}</div>
            <a class="link">
              <div class="video-comment">{{ video.shareCount }}</div>
            </a>
            <a class="link"><div class="video-share"></div> </a>
          </div>
        </div>
      </div>
    </section>
    <MovieBodyFooter />
  </div>
</template>
<script>
import Vue from "vue";
import { Tab, Tabs } from "vant";
Vue.use(Tab).use(Tabs);
import MovieBodyFooter from "@/components/movie/movie_body_footer";
import MovieHeader from "@/components/movie/movie_herder";
import http from "../../utils/htttp";
export default {
  filters: {
    dur_filter(timer) {
      let m = Math.floor(timer / 60);
      m = m < 10 ? "0" + m : m;
      let s = timer % 60;
      s = s < 10 ? "0" + s : s;
      return m.toString() + ":" + s;
    },
  },
  components: {
    MovieBodyFooter,
    MovieHeader,
  },
  data() {
    return {
      tabsArr: [
        {
          id: 0,
          name: "推荐",
          path: "/",
        },
        {
          id: 1331498,
          name: "热片解读",
          path: "/",
        },
        {
          id: 1067226,
          name: "预告片",
          path: "/",
        },
        {
          id: 1074953,
          name: "说电影",
          path: "/",
        },
        {
          id: 1794454,
          name: "佳片",
          path: "/",
        },
      ],
      videoArr: [],
      feedChannelId: 0,
    };
  },
  async created() {
    let {
      data: { videos },
    } = await this.getVideo();
    this.videoArr = videos;
  },
  mounted() {
    document.querySelector("body").className = "page-video-body";
  },
  methods: {
    //异步获取视频信息
    getVideo() {
      return http("/video", {
        params: {
          feedChannelId: this.feedChannelId,
          timestamp: Date.now(),
        },
      });
    },
    //tab点击切换事件
    async tabHandler(index) {
      this.feedChannelId = this.tabsArr[index].id;
      let {
        data: { videos },
      } = await this.getVideo();
      this.videoArr = videos;
    },
  },
};
</script>
<style scoped>
body {
  font-size: 14px;
}
.link {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: transparent;
}

.link-disable {
  color: #ccc !important;
}

.img {
  border: 0;
  display: inline-block;
  background: #f5f5f5
    url("")
    no-repeat 50%;
  background-size: 50%;
}

.img-circle {
  border-radius: 50%;
}

.img-bordered {
  border: 2px solid red;
}

.img-avatar {
  background-size: 100%;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/avatar.png);
}

.img.avatar-img {
  background: #f5f5f5
    url("")
    no-repeat 50%;
  background-size: 100%;
}

.img.noneBg {
  background: none;
}

.download-app-bar {
  position: relative;
  min-height: 1.28rem;
  background-color: #fff;
  z-index: 11;
}

.download-app-bar h1 {
  display: inline;
}

.download-app-bar img.logo {
  position: absolute;
  left: 0.3rem;
  top: 0.22rem;
  width: 0.84rem;
  height: 0.84rem;
}

.download-app-bar .app-name-desc {
  position: absolute;
  left: 1.33rem;
  top: 0.23rem;
}

.download-app-bar .app-name-desc .app-name {
  font-size: 0.34rem;
  color: #222;
  line-height: 0.46rem;
}

.download-app-bar .app-name-desc .app-desc {
  font-size: 0.24rem;
  color: #999;
}

.download-app-bar .btn-open-app {
  position: absolute;
  right: 0.3rem;
  top: 0.34rem;
  width: 1.36rem;
  height: 0.6rem;
  line-height: 0.6rem;
  text-align: center;
  background: #ef4238;
  border-radius: 0.06rem;
  font-size: 0.26rem;
  color: #fff;
}

.download-app-bar-custom {
  position: relative;
  height: 1.2rem;
  width: 100%;
  background-color: #fff;
  z-index: 11;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  left: 0;
  top: 0;
  top: constant(safe-area-inset-top);
  top: env(safe-area-inset-top);
  border-bottom: 1px solid #e8e8e8;
  border-top: 1px solid #e8e8e8;
}

.download-app-bar-custom h1 {
  display: inline;
}

.download-app-bar-custom .logo_custom {
  position: absolute;
  left: 0.28rem;
  top: 0.2rem;
  width: 1.88rem;
  height: 0.78rem;
}

.download-app-bar-custom .benefit-img {
  display: inline-block;
  position: absolute;
  right: 2rem;
  height: 0.5rem;
}

.download-app-bar-custom .benefit-text {
  display: inline-block;
  position: absolute;
  height: 0.34rem;
  line-height: 0.34rem;
  right: 2rem;
  font-size: 13px;
  font-family: PingFangSC-Regular, Arial, Helvetica, sans-seri;
  font-weight: 620;
  color: #666;
  text-decoration: none;
}

.download-app-bar-custom .split {
  display: inline-block;
  position: absolute;
  right: 1.79rem;
  width: 0.02rem;
  height: 0.52rem;
  line-height: 0.52rem;
  background: rgba(0, 0, 0, 0.1);
  transform: scale(0.5);
}

.download-app-bar-custom .point {
  padding-left: 0.02rem;
}

.download-app-bar-custom .btn-open-app-custom {
  position: absolute;
  right: 0.24rem;
  height: 0.4rem;
  line-height: 0.4rem;
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  font-family: PingFangSC-Medium, Arial, Helvetica, sans-serif;
  color: #b37e7e;
}

.tip-open-app {
  position: fixed;
  right: 0;
  bottom: 2.4rem;
  width: 2.2rem;
  height: 0.76rem;
  line-height: 0.76rem;
  z-index: 10;
  opacity: 0.94;
  background-image: linear-gradient(134deg, #fb3333, #ff5269 75%);
  box-shadow: 0 2px 4px 0 rgba(160, 44, 41, 0.15);
  border-radius: 20px 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tip-open-app div {
  color: #fff;
  margin-left: 0.1rem;
}

.tip-open-app img {
  width: 0.46rem;
  height: 0.46rem;
}

@media (max-width: 360px) {
  .btn-open-app-custom {
    top: 0.37rem;
  }

  .split {
    top: 0.27rem;
  }

  .download-app-bar-custom .split {
    right: 1.85rem;
  }
}

@media (min-width: 375px) {
  .btn-open-app-custom {
    top: 0.37rem;
  }

  .split {
    top: 0.3rem;
  }
}

@media (min-width: 375px) {
  .download-app-bar-custom .btn-open-app-custom {
    font-size: 16px;
  }

  .download-app-bar-custom .benefit-text {
    font-size: 14px;
  }

  .download-app-bar-custom .split {
    right: 1.82rem;
  }
}

@media (min-width: 1024px) {
  .download-app-bar-custom .btn-open-app-custom {
    font-size: 0.699rem;
  }

  .download-app-bar-custom .benefit-text {
    font-size: 0.583rem;
  }
}

.toast-cover {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 0;
}

.toast {
  box-sizing: border-box;
  margin: -0.45rem 0 0 -35%;
  padding: 0.2rem 0.32rem;
  width: 70%;
  line-height: 0.5rem;
  font-size: 0.26rem;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  color: #fff;
  background: #000;
  opacity: 0;
  border-radius: 0.2rem;
  transition: opacity 1s;
  z-index: 10;
}

.videoplayer {
  position: relative;
  height: 4.22rem;
  overflow: hidden;
  background-color: #000;
}

.videoplayer video {
  width: 100%;
  height: 100%;
  background-color: #000;
  object-fit: cover;
}

.videoplayer .poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.videoplayer .play-progress {
  height: 0.03rem;
  background-color: #ff4842;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 101;
}

.videoplayer .mark {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.88);
}

.videoplayer .play-but {
  z-index: 10;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.16rem;
  height: 1.16rem;
  margin-left: -0.58rem;
  margin-top: -0.58rem;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-btn-play.png);
  background-size: contain;
}

.videoplayer .play-but.replay:before {
  content: "\91cd";
}

.videoplayer .play-but.replay:after {
  content: "é‡æ’­";
  color: #fff;
  display: block;
  text-align: center;
  font-size: 13px;
}

.videoplayer .play-but.opacity0 {
  opacity: 0;
}

.videoplayer .pause-but {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.16rem;
  height: 1.16rem;
  margin-left: -0.58rem;
  margin-top: -0.58rem;
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-btn-pause.png);
  background-size: contain;
}

.videoplayer .next-preview-box {
  position: absolute;
  left: 0.66rem;
  right: 0.66rem;
  top: 0.98rem;
  font-size: 0.26rem;
}

.videoplayer .next-preview-box .next-desc {
  color: hsla(0, 0%, 100%, 0.8);
}

.videoplayer .next-preview-box .next-box {
  margin-top: 0.16rem;
  display: flex;
}

.videoplayer .next-preview-box .next-box .img {
  width: 2.4rem;
  height: 1.34rem;
  border-radius: 0.04rem;
}

.videoplayer .next-preview-box .next-box .title-box {
  flex: 1;
  margin-left: 0.24rem;
}

.videoplayer .next-preview-box .next-box .title-box .title {
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
}

.videoplayer .next-preview-box .next-box .title-box .play-btn {
  box-sizing: border-box;
  margin-top: 0.1rem;
  width: 1.48rem;
  height: 0.52rem;
  border: 1px solid #f03d37;
  border-radius: 0.52rem;
  background: rgba(240, 61, 55, 0);
  color: #f03d37;
  line-height: 0.52rem;
  text-align: center;
}

.videoplayer .next-preview-box .replay-box {
  margin-top: 0.46rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  color: #fff;
}

.videoplayer .next-preview-box .replay-box .img {
  width: 0.26rem;
  height: 0.26rem;
  margin-right: 0.1rem;
}

.videoplayer .next-replay-box {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  font-size: 0.26rem;
  color: hsla(0, 0%, 100%, 0.8);
  text-align: center;
}

.videoplayer .next-replay-box .play-btn {
  box-sizing: border-box;
  margin: 0.24rem auto 0;
  width: 1.66rem;
  height: 0.52rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(0, 0%, 100%, 0.8);
  border-radius: 0.52rem;
}

.videoplayer .next-replay-box .play-btn .img {
  width: 0.26rem;
  height: 0.26rem;
  margin-right: 0.1rem;
}

.videoplayer .next-replay-box .play-btn .btn-box {
  display: flex;
  align-items: center;
}

.videoplayer .loading-wrapper {
  background: #000;
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.videoplayer .loading-wrapper .loading-ico {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.96rem;
  height: 0.96rem;
  margin-left: -0.48rem;
  margin-top: -0.48rem;
  opacity: 0.7;
  border-radius: 100%;
  background: #333;
}

.videoplayer .loading-wrapper .loading-ico .loading-img {
  width: 0.8rem;
  height: 0.8rem;
  background: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -0.4rem;
  margin-top: -0.4rem;
  animation: spin 1s linear infinite;
}

.videoplayer .loading-wrapper .loading-ico .cat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 0.585rem;
  height: 0.41rem;
  background: none;
}

.videoplayer .info-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 30px;
  line-height: 30px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  color: #fff;
  font-size: 12px;
}

.videoplayer .info-bar .count {
  float: left;
  margin-left: 15px;
  padding-left: 11px;
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-play-count.png)
    no-repeat 0;
  background-size: 5px 6px;
}

.videoplayer .info-bar .time {
  float: right;
  margin-right: 10px;
}

.videoplayer .control-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 46px;
  background-color: rgba(34, 34, 34, 0.9);
  transform: translateZ(0);
  color: #fff;
}

.videoplayer .control-bar.hidden {
  transform: translate3d(0, 46px, 0);
}

.videoplayer .control-bar .play-pause {
  float: left;
  height: 46px;
  width: 46px;
  text-align: center;
}

.videoplayer .control-bar .pause:after {
  content: "\6682";
  font-family: myfont;
  line-height: 46px;
}

.videoplayer .control-bar .play:after {
  content: "\EA2E";
  font-family: myfont;
  line-height: 46px;
}

.videoplayer .control-bar .fullscreen {
  float: right;
  height: 46px;
  width: 46px;
  text-align: center;
}

.videoplayer .control-bar .fullscreen:after {
  content: "\5168";
  font-family: myfont;
  line-height: 46px;
}

.videoplayer .control-bar .step {
  position: absolute;
  left: 50px;
  right: 50px;
}

.videoplayer .control-bar .step .background {
  position: absolute;
  top: 22px;
  width: 100%;
  height: 2px;
  background-color: #666;
}

.videoplayer .control-bar .step .loaded {
  position: absolute;
  top: 22px;
  width: 0;
  height: 2px;
  background-color: #ccc;
}

.videoplayer .control-bar .step .current {
  position: absolute;
  top: 22px;
  width: 0;
  height: 2px;
  background-color: #dd403b;
  transition: width 1s linear;
}

.videoplayer .control-bar .step .current .vernier {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  background-clip: padding-box;
  border: 5px solid hsla(0, 0%, 100%, 0.6) !important;
}

.videoplayer .control-bar .step .current-pause {
  transition: none;
}

.videoplayer .control-bar .timeline {
  float: right;
  margin-top: 26px;
  margin-right: 10px;
  font-size: 11px;
}

.videoplayer .control-bar .timeline .currentTime {
  color: #eee;
}

.videoplayer .control-bar .timeline .duration {
  color: #999;
}

.videoplayer .control-bar .btn-volume {
  float: left;
  height: 46px;
  width: 46px;
  text-align: center;
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-volume.png)
    no-repeat 50%;
  background-size: 18px 18px;
}

.videoplayer .control-bar .btn-volume.muted {
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-volume-muted.png);
}

.videoplayer .control-bar-flex {
  height: 40px;
  display: flex;
}

.videoplayer .control-bar-flex .btn-volume,
.videoplayer .control-bar-flex .fullscreen,
.videoplayer .control-bar-flex .play-pause {
  float: none;
  height: 40px;
  width: 40px;
}

.videoplayer .control-bar-flex .btn-volume:after,
.videoplayer .control-bar-flex .fullscreen:after,
.videoplayer .control-bar-flex .play-pause:after {
  line-height: 40px;
}

.videoplayer .control-bar-flex .step {
  position: relative;
  left: 11px;
  flex: 1;
  margin-right: 10px;
}

.videoplayer .control-bar-flex .step .background,
.videoplayer .control-bar-flex .step .current,
.videoplayer .control-bar-flex .step .loaded {
  top: 18px;
}

.videoplayer .control-bar-flex .timeline {
  float: none;
  margin: 0 0 0 10px;
  line-height: 40px;
}

.videoplayer .control-bar-flex .timeline-right {
  padding-right: 13px;
}

.videoplayer .btn-volume-muted {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 46px;
  width: 46px;
  text-align: center;
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-volume-muted.png)
    no-repeat 50%;
  background-size: 18px 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1turn);
  }
}

.video-item {
  margin-bottom: 0.12rem;
  position: relative;
}

.video-item .video-title {
  position: absolute;
  top: 0;
  left: 0;
  font-family: PingFangSC-Medium, serif;
  font-size: 0.34rem;
  color: #fff;
  letter-spacing: 0;
  line-height: 0.48rem;
  z-index: 1;
  margin: 0.18rem 0.3rem 0.38rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-all;
  overflow: hidden;
}

.video-item .video-info {
  height: 0.92rem;
  background-color: #fff;
  padding-left: 0.3rem;
  display: flex;
  justify-content: space-between;
}

.video-item .video-info > div {
  height: 100%;
  display: flex;
  align-items: center;
}

.video-item .video-info .user-avatar {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 0.22rem;
}

.video-item .video-info .user-nickname {
  margin-left: 0.16rem;
  font-size: 0.28rem;
  color: #666;
}

.video-item .video-info .user-member-icon {
  margin-left: 0.103rem;
  width: 0.255rem;
}

.video-item .video-info .video-praise {
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-praise.png)
    no-repeat 0;
  background-size: 0.36rem 0.36rem;
  padding-left: 0.46rem;
  padding-right: 0.1rem;
  font-size: 0.24rem;
  height: 0.7rem;
  line-height: 0.7rem;
  margin-right: 0.53rem;
}

.video-item .video-info .video-praise.praised {
  background-image: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-praised.png);
}

.video-item .video-info .video-comment {
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-comment.png)
    no-repeat 0;
  background-size: 0.36rem 0.36rem;
  padding-left: 0.46rem;
  padding-right: 0.1rem;
  font-size: 0.24rem;
  color: #666;
  height: 0.7rem;
  line-height: 0.7rem;
  margin-right: 0.24rem;
}

.video-item .video-info .video-share {
  background: url(//s0.meituan.net/bs/myfe/canary/file/asgard/images/media/video-share.png)
    no-repeat 50%;
  background-size: 0.36rem 0.36rem;
  width: 0.36rem;
  height: 0.7rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
  margin-right: 0.15rem;
}

.link {
  text-decoration: none;
  color: inherit;
}

.clearfix:after {
  clear: both;
}

.clearfix:after,
.clearfix:before {
  content: " ";
  display: table;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.table-cell {
  display: table;
}

.table-cell .cell {
  display: table-cell;
}

.hide {
  display: none !important;
}

.pos-fixed {
  position: fixed;
}

.pos-static {
  position: static;
}

.pos-abs {
  position: absolute;
}

.text-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.icon-rotate-30:before {
  -webkit-transform: rotate(30deg);
}

.icon-rotate-60:before {
  -webkit-transform: rotate(60deg);
}

.icon-rotate-90:before {
  -webkit-transform: rotate(90deg);
}

.icon-rotate-180:before {
  -webkit-transform: rotate(180deg);
}

.icon-rotate-270:before {
  -webkit-transform: rotate(270deg);
}

.icon-writeanswer:before {
  content: "\EA47";
}

.icon-vip:before {
  content: "\EA46";
}

.icon-venus:before {
  content: "\EA45";
}

.icon-v5:before {
  content: "\EA44";
}

.icon-v4:before {
  content: "\EA43";
}

.icon-v3:before {
  content: "\EA42";
}

.icon-v2:before {
  content: "\EA41";
}

.icon-v1:before {
  content: "\EA40";
}

.icon-ugc-raise:before {
  content: "\EA3F";
}

.icon-ugc-fall:before {
  content: "\EA3E";
}

.icon-timer:before {
  content: "\EA3D";
}

.icon-ticket:before {
  content: "\EA3C";
}

.icon-success:before {
  content: "\EA3B";
}

.icon-star-v2:before {
  content: "\EA3A";
}

.icon-star-half2:before {
  content: "\EA39";
}

.icon-signal:before {
  content: "\EA38";
}

.icon-share:before {
  content: "\EA37";
}

.icon-seat:before {
  content: "\EA36";
}

.icon-rules:before {
  content: "\EA35";
}

.icon-right-ticket:before {
  content: "\EA34";
}

.icon-right-rest:before {
  content: "\EA33";
}

.icon-remove:before {
  content: "\EA32";
}

.icon-remove-sign:before {
  content: "\EA31";
}

.icon-remove-narrow:before {
  content: "\EA30";
}

.icon-remove-circle:before {
  content: "\EA2F";
}

.icon-play-video:before {
  content: "\EA2E";
}

.icon-phone:before {
  content: "\EA2D";
}

.icon-paper:before {
  content: "\EA2C";
}

.icon-ok:before {
  content: "\EA2B";
}

.icon-ok-sign2:before {
  content: "\EA2A";
}

.icon-ok-sign:before {
  content: "\EA29";
}

.icon-ok-circle:before {
  content: "\EA28";
}

.icon-music:before {
  content: "\EA27";
}

.icon-movie:before {
  content: "\EA26";
}

.icon-mars:before {
  content: "\EA25";
}

.icon-local:before {
  content: "\EA24";
}

.icon-highlights:before {
  content: "\EA23";
}

.icon-heart:before {
  content: "\EA22";
}

.icon-heart-empty:before {
  content: "\EA21";
}

.icon-hand:before {
  content: "\EA20";
}

.icon-fail:before {
  content: "\EA1F";
}

.icon-eye:before {
  content: "\EA1E";
}

.icon-edit:before {
  content: "\EA1D";
}

.icon-delete:before {
  content: "\EA1C";
}

.icon-comment:before {
  content: "\EA1B";
}

.icon-collect-tag:before {
  content: "\EA1A";
}

.icon-close:before {
  content: "\EA19";
}

.icon-chevron-up:before {
  content: "\EA18";
}

.icon-chevron-right:before {
  content: "\EA17";
}

.icon-chevron-left:before {
  content: "\EA16";
}

.icon-chevron-down:before {
  content: "\EA15";
}

.icon-caret-up:before {
  content: "\EA14";
}

.icon-caret-right:before {
  content: "\EA13";
}

.icon-caret-left:before {
  content: "\EA12";
}

.icon-caret-down:before {
  content: "\EA11";
}

.icon-badge:before {
  content: "\EA10";
}

.icon-arrow-thin-left:before {
  content: "\EA0F";
}

.icon-arrow-right:before {
  content: "\EA0E";
}

.icon-arrow-down:before {
  content: "\EA0D";
}

.icon-arrow-down-radius:before {
  content: "\EA0C";
}

.icon-arrow-double:before {
  content: "\EA0B";
}

.icon-approved:before {
  content: "\EA0A";
}

.icon-approve:before {
  content: "\EA09";
}

.icon-angle-up:before {
  content: "\EA08";
}

.icon-angle-right:before {
  content: "\EA07";
}

.icon-angle-left:before {
  content: "\EA06";
}

.icon-angle-down:before {
  content: "\EA05";
}

.icon-alert:before {
  content: "\EA04";
}

.icon-add2:before {
  content: "\EA03";
}

.icon-add:before {
  content: "\EA02";
}

.icon-abc:before {
  content: "\EA01";
}

.icon-replay:before {
  content: "\91CD";
}

.icon-pause:before {
  content: "\6682";
}

.icon-play-circle:before {
  content: "\64AD";
}

.icon-home:before {
  content: "\5BB6";
}

.icon-fullscreen:before {
  content: "\5168";
}

.icon-star-half:before {
  content: "\2736";
}

.icon-star-o:before {
  content: "\2606";
}

.icon-star:before {
  content: "\2605";
}

.hidden-xy {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-item,
.flex-item-1 {
  flex: 1;
}

.flex-item-2 {
  flex: 2;
}

.flex-row {
  flex-flow: row;
  flex-direction: row;
}

.flex-column {
  flex-flow: column;
  flex-direction: column;
}

.flex-left {
  justify-content: flex-start;
}

.flex-right {
  justify-content: flex-end;
}

.flex-center {
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-around {
  justify-content: space-around;
}

.flex-top {
  align-items: flex-start;
}

.flex-middle {
  align-items: center;
}

.flex-bottom {
  align-items: flex-end;
}

.flex-baseline {
  align-items: baseline;
}

.flex-stretch {
  align-items: stretch;
}

.Navbarold {
  height: 1rem;
}

.Navbarold .navbar-back {
  width: 36px;
  height: 36px;
  display: block;
  position: absolute;
  z-index: 999;
}

.Navbarold .navbar-back:after {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 6px;
  transform: rotate(45deg) translateY(-50%);
}

nav {
  background-color: #e54847 !important;
  display: -webkit-box;
  padding: 0.12rem 0;
  height: 0.76rem;
  width: 100%;
}

nav,
nav .navbar-title {
  overflow: hidden;
  position: relative;
}

nav .navbar-title {
  -webkit-box-flex: 1;
  color: #fff;
  font-size: 0.36rem;
  font-weight: 500;
  line-height: 2;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

nav .nav-btn {
  position: absolute;
  right: 0.24rem;
  top: 50%;
  margin-top: -0.16rem;
}

nav .nav-btn .nav-icon {
  width: 0.34rem;
  height: 0.32rem;
}

.nav-list {
  position: absolute;
  top: 0.96rem;
  right: 0.24rem;
  width: 2.2rem;
  z-index: 20;
  background: #fff;
  box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.1);
}

.nav-list .nav-item {
  box-sizing: content-box;
  height: 0.91rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.nav-list .nav-item:last-child {
  border: none;
}

.nav-list .nav-item a {
  display: block;
  text-decoration: none;
  line-height: 0.91rem;
  font-size: 0.3rem;
  color: #333;
  letter-spacing: 0;
}

.navbar.fix-bangs {
  height: 44px;
  padding-top: env(safe-area-inset-top);
}

.navbar.fix-bangs nav {
  margin-top: 6px;
}

::-webkit-scrollbar {
  height: 0;
  width: 0;
}

html {
  font-size: 50px;
}

@media (min-width: 414px) {
  html {
    font-size: 51.5px;
  }
}

@media (max-width: 375px) {
  html {
    font-size: 50px;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 45px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 42px;
  }
}

body {
  user-select: none;
  -webkit-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-overflow-scrolling: touch;
  width: 100%;
  overflow-x: hidden;
  background: #f4f4f4;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}

body input,
body textarea {
  appearance: none;
}

@font-face {
  font-family: myfont;
  src: url(//s0.meituan.net/bs/myfe/canary/file/asgard/fonts/myfont/myfont.eot);
  src: url(//s0.meituan.net/bs/myfe/canary/file/asgard/fonts/myfont/myfont.eot#iefix)
      format("eot"),
    url(//s0.meituan.net/bs/myfe/canary/file/asgard/fonts/myfont/myfont.woff)
      format("woff"),
    url(//s0.meituan.net/bs/myfe/canary/file/asgard/fonts/myfont/myfont.ttf)
      format("truetype"),
    url(//s0.meituan.net/bs/myfe/canary/file/asgard/fonts/myfont/myfont.eot)
      format("embedded-opentype");
  font-weight: 400;
  font-style: normal;
}

.icon {
  font-size: 1em;
  line-height: 1em;
  display: inline;
  vertical-align: middle;
}

.icon:before {
  line-height: 1;
  display: inline-block;
  font-family: myfont;
  font-style: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.icon-2x {
  font-size: 2em;
}

.icon-3x {
  font-size: 3em;
}

.icon-4x {
  font-size: 4em;
}

.icon-5x {
  font-size: 5em;
}

.icon-fw {
  width: 1.28571429em;
  text-align: center;
}

.icon-rotate-30:before {
  transform: rotate(30deg);
}

.icon-rotate-60:before {
  transform: rotate(60deg);
}

.icon-rotate-90:before {
  transform: rotate(90deg);
}

.icon-rotate-180:before {
  transform: rotate(180deg);
}

.icon-rotate-270:before {
  transform: rotate(270deg);
}

.icon-approved {
  font-size: 1.1em;
}

.page-video section.videos {
  padding-bottom: 0.96rem;
  background-color: #f5f5f5;
}
</style>
<style >
.page-video-body #movie_main{
  overflow: auto;
}
.page-video .van-tab__text {
  font-size: 0.3rem;
}
.page-video .van-tabs__nav--line {
  padding-bottom: 12px;
}
.page-video .van-tab--active {
  font-weight: 700;
  color: #333 !important;
}
.page-video .van-tab--active .van-tab__text {
  font-size: 0.34rem !important;
}
</style>